package com.wf.classRoomTest.customer;

import java.util.concurrent.ArrayBlockingQueue;

/**
 * @author mpk
 * @since 2024/6/12 15:40:10
 * 库存
 */


public class House {

       public static void main(String[] args) {

              ArrayBlockingQueue<String> list = new ArrayBlockingQueue<>(10);


              MyProduct myProduct = new MyProduct(list);

              MyCustomer myCustomer = new MyCustomer(list);

              myProduct.start();
              myCustomer.start();
       }



    //生产



    //消费





}
